#include "stdio.h" 
#include "conio.h"
int main(){
printf("\n Nikon Coolpix S3000\n"); 
printf("\n Nikon Coolpix L23\n");
getch();
return 0;
}

//###########################################
#include <iostream>
#include <stdlib.h>
#include <math.h>
float gphoto2(float);
using namespace std;
int main()
{
   float ans;
    camare = gphoto2();
    cout << "Nikon Coolpix S3000\n" << ans << endl;
    cout << "Nikon Coolpix L23\n" << ans << endl;
    system("PAUSE");
    return 0;
}
//####################################################

//#include<stdio.h>                                                               
//#include<conio.h>                                                              
//main()  
//{                                                                                               
//int S3000 ,L23 ;                                                                                    
    //printf("gphoto2 = S3000 + L23");
    //printf("\nInput S3000 =",S3000 );
    //scanf("%d",&S3000);  
    //printf("Input L23 =",L23);                                         
    //scanf("%d",&L23);
    //gphoto2=(S3000*2)+(2*S3000*L23)+(y*L23);
    
    //printf("\n gphoto2 is  = %d",gphoto2);                 

     //printf("\n\nPress any key back to program...");            
     //getch();     
    //return 0;                                                                          
//}


//######################################################

#include <iostream>
#include <conio.h>
int main(){
{
    //float n=0;
    //float accounttype=0;
    //float interest=0;
    //float result=0;

    //cout<<"Enter principal (baht): ";
    //cin>> principal;
    //cout<<"Enter your account type (3, 6, or 12): ";
    //cin>>accounttype;
    //cout<<"Enter the interest rate (% per year): ";
    //cin>>interest;

     if(accounttype=='3'||accounttype=='6'||accounttype=='12') { 
                       float ai = 12/accounttype;
                       interest= interest / ai;
                       for(int(i=0; i <= (numnewports-1); i++))
                       for(int(j=0; j <= (ports-1); j++))
                       for(int(k=0; k <= (backupports-1); k++))
                       for(int (i=0; i <= (ports-1); i++)){
                           result=principal+ (principal*interest)/100;
                      }
                        cout<< "........................."<<result<<" ......";                             
               } else {cout<<".....................!!!"  ;  }
    getch();
    return 0;
}

